const mysql = require('mysql');

const connection = mysql.createConnection({
	"host": "192.168.1.2",
	"user": "root",
	"port": 3306,
	"password": "atmd@dd_2015",
	"database": "apis_db"
});

connection.connect();

let sql = 'INSERT INTO posts SET ?'

connection.query(sql, (err, results, fields) => {

})